package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 药品排名实体 entity. 
 * @author jackson Wang
 * @since 2015-12-30 11:38
 * @version 1.0
 */
@Entity
@Table(name=ConstSysParam.MODULE_MEDICAL_DRUG_COUNTING)
public class MedicalDrugCounting extends BaseMonitorDomain implements BaseDomainInf{
	
	/*
	 * 主键
	 */
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="medicaldrugcountingGenerator")
	@TableGenerator(name="medicaldrugcountingGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_MEDICAL_DRUG_COUNTING,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}
	
	
	public void setId(Long id) {
		this.id = id;
	}
	
	//药品名称
	private String drug_name;
	
	//药品名称
	private String drug_code;
	
	//药品总数
	private Long drug_sum;
	
	//抗菌药品种数
	private Long drug_anti;
	
	//药品规格
	private String drugtype;
	
	//是否为抗菌药物
	private String isantisepsis;
	
	//是否为基本药物
	private String isbasedrug;
	
	//药品单位
	private String drug_unit;
	//药物剂型
	private String drug_formulate;
	
	//药物规格
	private String drug_spec;
	
	//药品金额
	private Double drug_price;
	
	//门诊药品金额
	private Double outp_drug_price;
	
	//住院药品金额
	private Double inp_drug_price;
	
	//住院药品数量
	private Long inp_drug_sum;
	
	//门诊药品数量
	private Long outp_drug_sum;

	//总价格
	private Double total_price;
	
	//药占比
	private Double medical_per;
	
	//药品标志
	private String is_drug;
	
	public String getDrug_name() {
		return drug_name;
	}

	public void setDrug_name(String drug_name) {
		this.drug_name = drug_name;
	}

	public String getDrug_code() {
		return drug_code;
	}

	public void setDrug_code(String drug_code) {
		this.drug_code = drug_code;
	}

	public Long getDrug_sum() {
		return drug_sum;
	}

	public void setDrug_sum(Long drug_sum) {
		this.drug_sum = drug_sum;
	}

	public Long getDrug_anti() {
		return drug_anti;
	}

	public void setDrug_anti(Long drug_anti) {
		this.drug_anti = drug_anti;
	}

	public String getDrugtype() {
		return drugtype;
	}

	public void setDrugtype(String drugtype) {
		this.drugtype = drugtype;
	}

	public String getIsantisepsis() {
		return isantisepsis;
	}

	public void setIsantisepsis(String isantisepsis) {
		this.isantisepsis = isantisepsis;
	}

	public String getIsbasedrug() {
		return isbasedrug;
	}

	public void setIsbasedrug(String isbasedrug) {
		this.isbasedrug = isbasedrug;
	}
	

	public String getDrug_unit() {
		return drug_unit;
	}

	public void setDrug_unit(String drug_unit) {
		this.drug_unit = drug_unit;
	}

	public String getDrug_formulate() {
		return drug_formulate;
	}

	public void setDrug_formulate(String drug_formulate) {
		this.drug_formulate = drug_formulate;
	}

	public String getDrug_spec() {
		return drug_spec;
	}

	public void setDrug_spec(String drug_spec) {
		this.drug_spec = drug_spec;
	}

	public Double getDrug_price() {
		return drug_price;
	}

	public void setDrug_price(Double drug_price) {
		this.drug_price = drug_price;
	}

	public Double getOutp_drug_price() {
		return outp_drug_price;
	}

	public void setOutp_drug_price(Double outp_drug_price) {
		this.outp_drug_price = outp_drug_price;
	}

	public Double getInp_drug_price() {
		return inp_drug_price;
	}

	public void setInp_drug_price(Double inp_drug_price) {
		this.inp_drug_price = inp_drug_price;
	}

	public Long getInp_drug_sum() {
		return inp_drug_sum;
	}

	public void setInp_drug_sum(Long inp_drug_sum) {
		this.inp_drug_sum = inp_drug_sum;
	}

	public Long getOutp_drug_sum() {
		return outp_drug_sum;
	}

	public void setOutp_drug_sum(Long outp_drug_sum) {
		this.outp_drug_sum = outp_drug_sum;
	}

	public Double getTotal_price() {
		return total_price;
	}

	public void setTotal_price(Double total_price) {
		this.total_price = total_price;
	}

	public Double getMedical_per() {
		return medical_per;
	}

	public void setMedical_per(Double medical_per) {
		this.medical_per = medical_per;
	}

	public String getIs_drug() {
		return is_drug;
	}

	public void setIs_drug(String is_drug) {
		this.is_drug = is_drug;
	}


}